package net.xju_17_18.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class Mix {

    private List<String> myList;
    private Map<String, String> map;
    private String[] myArray;

    public void init() {
        System.out.println("Bean初始化完成,调用了init()方法");
        System.out.println(this.toString());
    }

    public void destroy() {
        System.out.println("Bean即将销毁,调用了()方法");
    }

}
